package com.ouyang.dao.User;

import com.ouyang.poji.User;

import java.sql.Connection;
import java.util.List;

public interface UserDao {
  public User getloginuser( Connection connection, String UserName) throws Exception;
  public boolean changepwd(String UserName,String pwd);
  public List<User> getuserlist();
  public List<User> search(String key,String value);
  public Integer add( String Username, String Password, String Email);
  public Integer updata(Integer id,String Username,String Password,String Email);
  public Integer del(String id);
}
